<template>
 <div>
     <h2>商品相关信息</h2>
      <div>
        <div>
            商品id: <strong>{{goodInfo.goodNo}}</strong>
          </div>
          <div>
            商品名称: <strong>{{goodInfo.goodName}}</strong>
          </div>
        <slot name="cha" :goodInfo="goodInfo" >默认</slot>
        <!-- <slot name="cha" :orderInfo="orderInfo"></slot> -->
      </div>
 </div>
</template>

<script>
 export default {
   name: 'HmShangPin',
   props: {
    goodInfo:{
        type:Object,
        required:true
    }
   },
   data () {
     return {

     }
   },

 }
</script>

<style scoped lang='less'>

</style>